package io.hepu.robotize.service;


import io.hepu.robotize.base.IBaseService;
import io.hepu.robotize.model.Role;

import java.util.List;

public interface IRoleService extends IBaseService<Role, String> {
    // 根据用户ID查询计算权限量
    int findPrivsByUserId(String userId);

    // 根据用户ID查询角色
    List<Role> findByUserId(String userId);
}
